//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.sailing.xjpb.common.orika;

import ma.glasnost.orika.impl.generator.specification.StringToEnum;
import ma.glasnost.orika.metadata.FieldMap;

/**
 * 对象转枚举
 *
 * @author YW
 */
public class ObjectToEnum extends StringToEnum {

    @Override
    public boolean appliesTo(FieldMap fieldMap) {
        return !fieldMap.getAType().isEnum() && fieldMap.getBType().isEnum();
    }

}
